package com.service;

import com.common.utils.Page;
import com.entity.Admin;

public interface AdminService {

	public Admin findAdminname(String admin_name);

	public Admin findAdmin(String admin_name, String password);

	public Admin getAdminById(Integer id);

	public Page<Admin> findAdminList(Integer page, Integer rows, String admin_name);

	public int createAdmin(Admin admin);

	public int deleteAdmin(Integer id);

	public int updateAdmin(Admin admin);

}
